<template>
  <el-row>
    <el-col :span="6" v-for="item in list" :key="item.src">
      <ContentCard
        :name="item.name"
        :title="item.title"
        :subTitle="item.subTitle"
        :color="item.color"
        :src="item.src"
      />
    </el-col>
  </el-row>
</template>

<script setup lang="ts">
import ContentCard from "./contentCard.vue";

const props = defineProps({
  list: {
    type: Array,
    default: () => [],
  },
});
</script>

<style scoped></style>
